package com.wtp.wallpaper.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wtp.wallpaper.pojo.entity.Picture;
import com.wtp.wallpaper.pojo.vo.PictureVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PictureMapper extends BaseMapper<Picture> {

    @Select("select file_md5 from picture")
    List<String> findAllMd5Hashes();
}
